package com.example.teachingevaluationsystem.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 评价计划
 *
 * @author lp
 * @since 2022-04-04
 */
@Getter
@Setter
@TableName("evaluation_plan")
@ApiModel(value = "EvaluationPlan对象", description = "评价计划")
public class EvaluationPlan implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty("主键")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  @ApiModelProperty("标题")
  @TableField("title")
  private String title;

  @ApiModelProperty("状态")
  @TableField("status")
  private Integer status = 0;

  @ApiModelProperty("创建时间")
  @TableField(value = "create_time", fill = FieldFill.INSERT)
  private LocalDateTime createTime;

  @ApiModelProperty("更新时间")
  @TableField(fill = FieldFill.INSERT_UPDATE)
  private LocalDateTime updateTime;
}
